﻿@model Guid
@{
    var logview = Website.Models.PrimitiveTypes.GetLogViewForObject(Model, null, null);
}
<script>
    $(function () {
        $("#showDialog").click(function () {
            $("#logDialog").dialog({
                width: "700px",
                modal: true
            });
        });
    });
</script>

<div id="logDialog" title="Log" style="display: none;">
    @Html.Partial("~/Views/_Shared/LogViewPartial.cshtml", logview)
</div>

<div class="buttonHolder">
        <input type="button" value="Vis log" id="showDialog" />
</div>